{"version":3,"sources":["display.bundle.js"],"names":["this","BX","Desktop","Field","exports","ui_entitySelector","tagItem","main_core","main_core_events","hasOwnProperty","_templateObject","_templateObject2","_templateObject3","_templateObject4","Dialog","params","_this","babelHelpers","classCallCheck","defineProperty","Set","targetNode","document","getElementById","targetNodeId","Error","concat","fieldName","toLowerCase","fieldNameForEvent","fieldTitle","context","messages","isMultiple","prepareItems","createWrappers","Runtime","loadExtension","then","tagSelector","getTagSelector","TagSelector","renderTo","wrapper","adjustLayout","dialogSelector","getDialogSelector","prepareInput","Event","bind","show","selectedItems","size","toConsumableArray","input","value","title","createClass","key","_this2","values","items","Array","isArray","entityId","forEach","element","setItem","id","VALUE","NAME","tabs","add","IS_SELECTED","node","Tag","render","taggedTemplateLiteral","Dom","append","event","length","search","clearSearch","deselectAll","hide","getSelectedItems","some","item","getText","createWrapper","createValuesWrapper","appendChild","valuesWrapper","entitySelector","options","getDialogOptions","events","Item:onSelect","onElementSelect","Item:onDeselect","onElementDeselect","addButtonCaption","getMessage","addButtonCaptionMore","showCreateButton","dialogOptions","getDialogSelectedItems","height","textBoxWidth","onTagAdd","onTagRemove","getDialogItems","dropdownMode","showAvatars","compactView","multiple","enableSearch","getItemFromEventData","clear","getTitle","createOption","unselectedItem","filter","JSON","stringify","getData","tag","_this3","isChanged","arguments","undefined","clearValueItems","adjustItem","fireEvent","innerHTML","createInputTag","toUpperCase","_this$messages$key","Ui","container","valueContainerId","block","defaultFieldName","formName","bindElement","decl","name","valueDelete","onChangeHandler","onChange","EventEmitter","subscribe","defer","firstChild","eventNode","controlObject","BaseEvent","data","currentValue","getAttribute","parse","changeValue","s","Type","i","Text","encode","Enum","UI","EntitySelector"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,OACfD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,YAC1BF,KAAKC,GAAGC,QAAQC,MAAQH,KAAKC,GAAGC,QAAQC,WACvC,SAAUC,EAAQC,EAAkBC,EAAQC,EAAUC,GACtD,aAE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